<template>
	<view class="columnbox wdh-100 content">
		<view class="rowbox wdh-100 search-box">
			<view class="rowbox search-info spb">
				<view class="rowbox">
					<u-icon name="search" size="40rpx"></u-icon>
					<input placeholder="搜索患者" />
				</view>
				<view class="rowbox search-btn">搜索</view>
			</view>
		</view>
		<view class="wdh-100 rowbox spb info-box" style="margin: 20rpx 0;">
			<view class="rowbox group-title">
				<image src="/static/img/group.png" mode="widthFix"></image> 患者分组
			</view>
			<u-icon name="arrow-right" size="28rpx"></u-icon>
		</view>
		<!-- <view class="wdh-100 rowbox jus chat-title">患者列表</view> -->
		<view class="wdh-100 rowbox spb info-box" v-for="(item,index) in 4" :key='index'>
			<view class="rowbox">
				<image class="user-img" mode="aspectFill"
					src="https://img0.baidu.com/it/u=2267665730,2605952328&fm=253&fmt=auto?w=800&h=800"></image>
				<view class="columnbox als info-detail">
					<view class="user-name">柳杨玉</view>
					<view class="info-content textovflow">28岁｜1399999999</view>
				</view>
			</view>
			<view class="columnbox status-box">
				<view class="info-date">2024-04-10 复诊</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		background: #F5F8FB;
		min-height: 100vh;
		justify-content: flex-start;
		font-family: PingFang SC;
	}

	.info-box {
		padding: 32rpx 36rpx;
		background: #fff;

	}

	.group-title {
		font-size: 28rpx;
		color: #202020;
		font-weight: bold;

		image {
			width: 40rpx;
			height: 40rpx;
			margin-right: 10rpx;
		}
	}

	.chat-title {
		font-size: 32rpx;
		padding: 0 36rpx;
		padding-top: 32rpx;
		background: #fff;
		margin-top: 20rpx;
		color: #232323;
		font-weight: bold;
	}

	.user-img {
		width: 100rpx;
		height: 100rpx;
		border-radius: 100rpx;
		margin-right: 20rpx;
	}

	.info-detail {
		line-height: 40rpx;

		.user-name {
			font-size: 30rpx;
			color: #202020;
		}

		.info-content {
			font-size: 24rpx;
			color: #9B9B9B;
			margin-top: 10rpx;
		}
	}

	.status-box {
		align-items: flex-end;

		.info-date {
			font-size: 24rpx;
			color: #606062;
			margin-top: 50rpx;
		}

		.status-btn {
			font-size: 22rpx;
			color: #fff;
			padding: 4rpx 10rpx;
			margin-top: 14rpx;
			border-radius: 10rpx;
		}
	}

	.search-box {
		padding: 32rpx 36rpx;
		background: #fff;

		.search-info {
			width: 100%;
			height: 70rpx;
			border: #00b6b2 solid 1px;
			border-radius: 100rpx;
			padding-left: 20rpx;

			input {
				font-size: 26rpx;
				margin-left: 10rpx;
			}
		}

		.search-btn {
			width: 110rpx;
			height: 50rpx;
			background: linear-gradient(to right, #01a7a1, #5acbc1);
			border-radius: 100rpx;
			font-size: 26rpx;
			color: #fff;
			margin-right: 10rpx;
		}
	}
</style>